﻿using System;
using System.ComponentModel;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using FlexCell;
using YArchitech.LIB;

namespace YArchitech.Plumbing
{
	public partial class HotWaterTemp : System.Windows.Forms.Form
	{
		public HotWaterTemp()
		{
			this.InitializeComponent();
			new YJKProcessTools().ShowInTaskbarChange(this);
			base.Icon = (base.Icon = Resource.YArchitechIcon);
			base.CenterToParent();
			string fileName = Path.Combine(Product.DataLocation, "HotWaterTemp.xml");
			this.grid1.LoadFromXML(fileName);
			this.grid1.Row(0).Visible = false;
			this.grid1.Column(0).Visible = false;
			this.grid1.AutoSize = true;
			this.grid1.Locked = true;
		}

		private void button1_Click(object sender, EventArgs e)
		{
			base.Close();
		}
	}
}
